/*
 * resourceIncorrectFormatException.h
 *
 *  Created on: Oct 28, 2011
 *      Author: fferri
 */
#pragma once
#ifndef _RESOURCE_INCORRECT_FORMAT_EXCEPTION_H_
#define _RESOURCE_INCORRECT_FORMAT_EXCEPTION_H_

#include "resourceManagementException.h"

namespace z3d {
	namespace core {

		class resourceIncorrectFormatException: public resourceManagementException {
			public:
			resourceIncorrectFormatException(void) throw()
						:resourceManagementException("Z3D internal error")
					{}

			explicit resourceIncorrectFormatException(const std::string& msg) throw()
					:resourceManagementException(msg)
			{}
			explicit resourceIncorrectFormatException(const char* msg) throw()
					:resourceManagementException(msg)
			{}
			virtual const char* what() const throw()
			{
				return m_err_msg.c_str();
			}
			virtual ~resourceIncorrectFormatException() throw(){}
		};
	}
} // namespace lpe
#endif // _RESOURCE_INCORRECT_FORMAT_EXCEPTION_H_
